
<%@ page import="activity.Register" %>
<!DOCTYPE html>
<html>
	<head>
		<meta name="layout" content="backend">
		<g:set var="entityName" value="${message(code: 'register.label', default: 'Register')}" />
		<title><g:message code="default.show.label" args="[entityName]" /></title>
	</head>
	<body>
		<a href="#show-register" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
		<div class="gnav" role="navigation">
			<ul>
				<li><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
				<li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
			</ul>
		</div>
		<div id="show-register" class="content scaffold-show" role="main">
			<h1><g:message code="default.show.label" args="[entityName]" /></h1>
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<ol class="property-list register">
			
				<g:if test="${registerInstance?.serial}">
				<li class="fieldcontain">
					<span id="serial-label" class="property-label"><g:message code="register.serial.label" default="Serial" /></span>
					
						<span class="property-value" aria-labelledby="serial-label"><g:link controller="serial" action="show" id="${registerInstance?.serial?.id}">${registerInstance?.serial?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${registerInstance?.reader}">
				<li class="fieldcontain">
					<span id="reader-label" class="property-label"><g:message code="register.reader.label" default="Reader" /></span>
					
						<span class="property-value" aria-labelledby="reader-label"><g:link controller="reader" action="show" id="${registerInstance?.reader?.id}">${registerInstance?.reader?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${registerInstance?.event}">
				<li class="fieldcontain">
					<span id="event-label" class="property-label"><g:message code="register.event.label" default="Event" /></span>
					
						<span class="property-value" aria-labelledby="event-label"><g:link controller="event" action="show" id="${registerInstance?.event?.id}">${registerInstance?.event?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${registerInstance?.goup}">
				<li class="fieldcontain">
					<span id="goup-label" class="property-label"><g:message code="register.goup.label" default="Goup" /></span>
					
						<span class="property-value" aria-labelledby="goup-label"><g:fieldValue bean="${registerInstance}" field="goup"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${registerInstance?.CID}">
				<li class="fieldcontain">
					<span id="CID-label" class="property-label"><g:message code="register.CID.label" default="CID" /></span>
					
						<span class="property-value" aria-labelledby="CID-label"><g:fieldValue bean="${registerInstance}" field="CID"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${registerInstance?.cancelCode}">
				<li class="fieldcontain">
					<span id="cancelCode-label" class="property-label"><g:message code="register.cancelCode.label" default="Cancel Code" /></span>
					
						<span class="property-value" aria-labelledby="cancelCode-label"><g:fieldValue bean="${registerInstance}" field="cancelCode"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${registerInstance?.regTime}">
				<li class="fieldcontain">
					<span id="regTime-label" class="property-label"><g:message code="register.regTime.label" default="Reg Time" /></span>
					
						<span class="property-value" aria-labelledby="regTime-label"><g:formatDate date="${registerInstance?.regTime}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${registerInstance?.userCancel}">
				<li class="fieldcontain">
					<span id="userCancel-label" class="property-label"><g:message code="register.userCancel.label" default="User Cancel" /></span>
					
						<span class="property-value" aria-labelledby="userCancel-label"><g:fieldValue bean="${registerInstance}" field="userCancel"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${registerInstance?.auditPass}">
				<li class="fieldcontain">
					<span id="auditPass-label" class="property-label"><g:message code="register.auditPass.label" default="Audit Pass" /></span>
					
						<span class="property-value" aria-labelledby="auditPass-label"><g:fieldValue bean="${registerInstance}" field="auditPass"/></span>
					
				</li>
				</g:if>
			
			</ol>
			<g:form>
				<fieldset class="buttons">
					<g:hiddenField name="id" value="${registerInstance?.id}" />
					<g:link class="edit" action="edit" id="${registerInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
					<g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
				</fieldset>
			</g:form>
		</div>
	</body>
</html>
